package com.xb.loan.fund.service.bean;


import com.xb.loan.fund.service.constant.FundConst;

import java.io.Serializable;
import java.text.DecimalFormat;
import java.util.Date;

public class CashManualChargeVO implements Serializable {

	private static final long serialVersionUID = 7173369673022069321L;

	private String accountId;

    private String userId;

    private String partnerId;

    private Integer paycardType;

    private String paycardCardname;

    private String paycardName;

    private String paycardNo;

    private Double money;

    private Integer status;

    private String statusReason;

    private Date approveTime;

    private String digitalSign;

    private String createTime;

    private String remark;

    private Integer type;

    private String manualchargeId;
    
    // 生成待签名字符串
 	public String generateKey() {
 		String strCentor = FundConst.Encrypt_Field_Splitter;
 		DecimalFormat df = new DecimalFormat("#.00");
 		StringBuffer buf = new StringBuffer();
 		buf.append(this.getManualchargeId());
 		buf.append(strCentor);
 		buf.append(this.getPartnerId());
 		buf.append(strCentor);
 		buf.append(this.getUserId());
 		buf.append(strCentor);
 		buf.append(this.getType());
 		buf.append(strCentor);
 		buf.append(df.format(this.getMoney()));
 		return buf.toString();
 	}
    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId == null ? null : accountId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId == null ? null : partnerId.trim();
    }

    public Integer getPaycardType() {
        return paycardType;
    }

    public void setPaycardType(Integer paycardType) {
        this.paycardType = paycardType;
    }

    public String getPaycardCardname() {
        return paycardCardname;
    }

    public void setPaycardCardname(String paycardCardname) {
        this.paycardCardname = paycardCardname == null ? null : paycardCardname.trim();
    }

    public String getPaycardName() {
        return paycardName;
    }

    public void setPaycardName(String paycardName) {
        this.paycardName = paycardName == null ? null : paycardName.trim();
    }

    public String getPaycardNo() {
        return paycardNo;
    }

    public void setPaycardNo(String paycardNo) {
        this.paycardNo = paycardNo == null ? null : paycardNo.trim();
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusReason() {
        return statusReason;
    }

    public void setStatusReason(String statusReason) {
        this.statusReason = statusReason == null ? null : statusReason.trim();
    }

    public Date getApproveTime() {
        return approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public String getDigitalSign() {
        return digitalSign;
    }

    public void setDigitalSign(String digitalSign) {
        this.digitalSign = digitalSign == null ? null : digitalSign.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getManualchargeId() {
        return manualchargeId;
    }

    public void setManualchargeId(String manualchargeId) {
        this.manualchargeId = manualchargeId == null ? null : manualchargeId.trim();
    }
}